package service

import (
	sqlc "bgs/db/sqlc"
)


func (s *ActivityServiceImp) MapListActivityItemOfStoreWithStatsByStoreIDRowEntityToPtr(list []sqlc.ListActivityItemOfStoreWithStatsByStoreIDRow) []*sqlc.ListActivityItemOfStoreWithStatsByStoreIDRow {
	ptrs := make([]*sqlc.ListActivityItemOfStoreWithStatsByStoreIDRow, len(list))
	for i := range list {
		ptrs[i] = &list[i]
	}
	return ptrs
}

func (s *ActivityServiceImp) MapRankActivityItemOfStoreWithStatsOverOrderAmountByStoreIDRowEntityToPtr(list []sqlc.RankActivityItemOfStoreWithStatsOverOrderAmountByStoreIDRow) []*sqlc.RankActivityItemOfStoreWithStatsOverOrderAmountByStoreIDRow {
	ptrs := make([]*sqlc.RankActivityItemOfStoreWithStatsOverOrderAmountByStoreIDRow, len(list))
	for i := range list {
		ptrs[i] = &list[i]
	}
	return ptrs
}